import React, { Component } from 'react'
import Test from './Test'

export default class App extends Component {
  render() {
    return (
      <div>
        App
        <Test
          colors={['red', 'blue', 'pink', 'tan']}
          age={18}
          fn={() => {}}
          obj={{
            name: '尼古拉斯',
            age: 18,
          }}
          jsx={<h3>Hello React</h3>}
        />
        {/* <Test colors='red' /> */}
      </div>
    )
  }
}
